package com.taihua.dao;
import com.taihua.entity.Account;

import java.util.List;

public interface AccountDao {
    int addAccount(Account account);
    int updateAccount(Account account);
    int deleteAccountById(int id);
    Account queryAccountById(int id);
    List<Account> queryAllAccount();
    boolean transfer1(int outId, int inId, double balance) ;
    boolean transfer2(int outId, int inId, double balance);

}
